HasPrivilege property
True if the user has the specified privilege for the default object (ParentFolder or WorkArea) or an optional specified Document (expressed as Document.ParentFolder), Vault, WorkArea, or Folder object. The Privilege argument is specified as a long integer that represents one or more of the AS_PRIVILEGES constants. Read-only.
Syntax
HasPrivilege(Privilege, [Object]) As Boolean